﻿using System.Collections.Generic;
using JStore.Core.Entities;
using JStore.Data.Daos;

namespace JStore.Tasks
{
	/// <summary>
	///
	/// </summary>
	public class RolePowerTask
	{
		private readonly RolePowerDao _rolePowerDao = new RolePowerDao();

	    public List<RolePower> GetListByRoleId(int roleId)
	    {
	        return _rolePowerDao.GetListByRoleId(roleId);
	    }
	}
}

